﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ModelQLKS.Model;
namespace ServiceQLKS
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IServiceQLKS
    {
        // Khai bao cac interface service
        [OperationContract]
        ErrorCodeQLKS doparserPerson(OPTCodeQLKS code, NHANVIEN NhanvienInput, out IList<NHANVIEN> NhanVienOut);

        [OperationContract]
        ErrorCodeQLKS doparserLoaiPhong(OPTCodeQLKS code, LOAIPHONG LoaiPhongInput, out IList<LOAIPHONG> LoaiPhongOut);

        [OperationContract]
        ErrorCodeQLKS doparserPhong(OPTCodeQLKS code, DMPHONG PhongInput, out IList<DMPHONG> PhongOutput);

        [OperationContract]
        ErrorCodeQLKS doparserThietBi(OPTCodeQLKS code, THIETBI_DV ThietBiInput, out IList<THIETBI_DV> ThietBiOutput);

        [OperationContract]
        ErrorCodeQLKS doparserTBThietBi(OPTCodeQLKS code, TRANGBITRANGTB TBThietBiInput, out IList<TRANGBITRANGTB> TBThietBiOutput);

        [OperationContract]
        ErrorCodeQLKS doparserKhacHang(OPTCodeQLKS code, KHACHHANG KhachHangInput, out IList<KHACHHANG> KhachHangOutput);
    }

}
